package com.jkl.entity.menu;

import com.jkl.entity.button.Button;
import org.apache.ibatis.type.JdbcType;
import tk.mybatis.mapper.annotation.ColumnType;

import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.List;

/**
 * @author liuzhennan
 * @create 2021-04-14 20:01
 */
public class BsMenuVo {
    /**
     * 主键ID
     * @mbg.generated
     */
    @Id
    @ColumnType(jdbcType = JdbcType.INTEGER)
    private Integer rowId;

    /**
     * 菜单编码
     * @mbg.generated
     */
    private String menuCode;

    /**
     * 菜单名称
     * @mbg.generated
     */
    private String menuName;

    /**
     * 菜单级别
     * @mbg.generated
     */
    private Integer level;

    /**
     * 上级菜单
     * @mbg.generated
     */
    private Integer parentId;

    /**
     * 菜单路径
     * @mbg.generated
     */
    private String path;

    /**
     * 图片路径
     * @mbg.generated
     */
    private String picture;

    /**
     * 状态：1启用，0停用
     * @mbg.generated
     */
    private Integer status;

    @Transient
    private List<BsMenu> menu;

    @Transient
    private List<Button> buttonList;
}
